/****************************************
 * Copyright (c) 2015 NiuWa.
 * All rights reserved.
 * Created on 2015年4月9日
 * 
 * Contributors:
 * 	   bwz - initial implementation
 ****************************************/
package com.niuwa.p2p.service.impl.claimtransfer;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.niuwa.p2p.dao.claimtransfer.TransProductDao;
import com.niuwa.p2p.entity.claimtransfer.TransProduct;
import com.niuwa.p2p.service.claimtransfer.TransProductService;
import com.niuwa.p2p.vo.front.product.FrontProductDetailVo;
import com.niuwa.p2p.vo.front.product.FrontProductListVo;



/**
 * @title 债权转让查询service实现类
 *
 * @author bwz
 * @version 1.0
 * @created 2015年4月9日
 */
@Service
public class TransProductServiceImpl implements TransProductService {
	
	@Autowired
	private TransProductDao  transProdDao;

	@Override
	public List<FrontProductListVo> selectTransProductListPage(Map<String, Object> paramMap) {
		List<FrontProductListVo> list = transProdDao.selectTransProductListPage(paramMap);
		return list;
	}

	
	@Override
	public FrontProductDetailVo getTransroductDetail(Map<String, Object> paramMap) {
		FrontProductDetailVo fProdDetailVo = transProdDao.getTransroductDetail(paramMap);
		return fProdDetailVo;
	}


	@Override
	public TransProduct selectByPrimaryKey(String prodCode) {
		TransProduct transProd = transProdDao.selectByPrimaryKey(prodCode);
		return transProd;
	}

}
